package com.share.config.ali.pay;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class AliPayProperties {

    //支付宝的官网获取appid
    @Value("${ali.appid}")
    private String appid;

    // 商户私钥
    @Value("${ali.privateKey}")
    private String privateKey;

    // 支付宝公钥
    @Value("${ali.publicKey}")
    private String publicKey;

    //服务器异常通知地址路径
    @Value("${ali.notifyUrl}")
    private String notifyUrl;

    // 页面挑战同步通知路径
    @Value("${ali.returnUrl}")
    private String returnUrl;

    //支付网关
    @Value("${ali.getewayUrl}")
    private String getewayUrl;
    private String signType = "RSA2";
    private String charset = "utf-8";
}